package com.ecut.property_project.mapper.base;

import com.ecut.property_project.model.base.BaseRegion;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BaseRegionMapper {
    int getCount();
    int deleteByPrimaryKey(Integer id);

    int insert(BaseRegion record);

    int insertSelective(BaseRegion record);

    List<BaseRegion> selectAll();

    List<BaseRegion> selectByPage(Integer page, Integer pageSize);

    BaseRegion selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BaseRegion record);

    int updateByPrimaryKey(BaseRegion record);


}